package TEST2;

public class DEMO02 {
	public static void main(String[] args) {
		int arr[] = new int [] {11,22,33,44,55};
		int a = 0;
		getmax(arr, a);
	}
	
	public static void getmax(int arr[],int a) {
		for (int i = 0; i < arr.length; i++) {
			if (arr[i]>a) {
				a=arr[i];
			}
		}
		System.out.println("??"+a);
	}
}